package com.link.base.base.esb.model;

/**
 * @author: liuqixin
 * @date: 2020/08/19 15:50
 */
public class OrgnizationDTO {

    /**
     * 组织名称
     */
    private String text;
    /**
     * 组织编码
     */
    private String orgCode;
    /**
     * SHR父组织ID
     */
    private String shrParOrgId;
    /**
     * 是否有效
     */
    private String isEffective;
    /**
     * SHR组织ID
     */
    private String shrOrgId;
    /**
     * 组织类型
     */
    private String orgType;
    /**
     * 组织层级
     */
    private String orgLevel;
    /**
     * 源系统描述
     */
    private String shrDesc;

    /**
     * 源系统创建时间
     */
    private String shrCreated;


    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getShrParOrgId() {
        return shrParOrgId;
    }

    public void setShrParOrgId(String shrParOrgId) {
        this.shrParOrgId = shrParOrgId;
    }

    public String getIsEffective() {
        return isEffective;
    }

    public void setIsEffective(String isEffective) {
        this.isEffective = isEffective;
    }


    public String getShrOrgId() {
        return shrOrgId;
    }

    public void setShrOrgId(String shrOrgId) {
        this.shrOrgId = shrOrgId;
    }

    public String getOrgType() {
        return orgType;
    }

    public void setOrgType(String orgType) {
        this.orgType = orgType;
    }

    public String getOrgLevel() {
        return orgLevel;
    }

    public void setOrgLevel(String orgLevel) {
        this.orgLevel = orgLevel;
    }

    public String getShrDesc() {
        return shrDesc;
    }

    public void setShrDesc(String shrDesc) {
        this.shrDesc = shrDesc;
    }

    public String getShrCreated() {
        return shrCreated;
    }

    public OrgnizationDTO setShrCreated(String shrCreated) {
        this.shrCreated = shrCreated;
        return this;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("OrgnizationDTO{");
        sb.append("text='").append(text).append('\'');
        sb.append(", orgCode='").append(orgCode).append('\'');
        sb.append(", shrParOrgId='").append(shrParOrgId).append('\'');
        sb.append(", isEffective='").append(isEffective).append('\'');
        sb.append(", shrOrgId='").append(shrOrgId).append('\'');
        sb.append(", orgType='").append(orgType).append('\'');
        sb.append(", orgLevel='").append(orgLevel).append('\'');
        sb.append(", shrDesc='").append(shrDesc).append('\'');
        sb.append(", shrCreated='").append(shrCreated).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
